package cn.com.miao.lynx.test.model;

import cn.com.miao.lynx.common.base.model.TreeModel;
import lombok.*;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * User
 *
 * @title: User
 * @description:
 * @author: dengmiao
 * @create: 2019-12-23 15:50
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = User.TABLE_NAME)
public class User extends TreeModel<User, Long> {

    public final static String TABLE_NAME = "test_user";

    private String name;
}
